<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>成品白坯收发（掌上数据，仅供参考）</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/demo/demo.css">
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.min.js"></script>


    <!--下拉样式设置-->
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" href="css/swiper.min.css">

    <link type="text/css" rel="stylesheet" href="css/ClientReceive.css">
    <script src="js/ClientReceive.js" type="text/javascript"></script>

    <script src="js/swiper.min.js"></script>
    <script src="js/dyselect.js"></script>


</head>
<body>

<div class="d_main">

    <div class="d_detail01">
        <button class="btn2">染厂名称</button>
    </div>

    <div class="d_detail02">
        <div style="margin:1px 0 1px 0;"></div>
        <div id="tabs" class="easyui-tabs" style="width:100%;height:100%">

            <div title="收成品" data-options="tabWidth:80" style="padding:0px">
                <table id="waterdetai01" class="easyui-datagrid"  style="width:100%;height:100%;"
                       data-options="rownumbers:true,singleSelect:true,method:'get',
                       toolbar:'#tb',footer:'#ft'" >
                    <thead data-options="frozen:true">
                    <tr>
                        <th  data-options="field:'B_CPFHDate',width:50,align:'center'">日期</th>
                        <th  data-options="field:'pinming',width:80,align:'center'">品名</th>
                    </tr>
                    </thead>
                    <thead>
                    <tr>

                        <th  data-options="field:'colorandsh',width:110,align:'center'">颜色/色号</th>
                    <!--<th  data-options="field:'cpfhQty',width:110,align:'center'">P/KG/M</th>-->
                        <th data-options="field:'bprkQty',width:130,align:'center',
                               formatter:formatter01">
                            <span style="color:black;">收成品</span>
                            <span style="color:red;">P</span>/
                            <span style="color:black;">KG</span>/
                            <span style="color:deepskyblue;">M</span>
                        </th>

                        <th  data-options="field:'order_no',width:90,align:'center'">订单号</th>
                    </tr>

                    </thead>

                </table>
            </div>
            <div title="发白坯" data-options="tabWidth:80" style="padding:0px">
                <table id="waterdetai02" class="easyui-datagrid"  style="width:100%;height:100%;"
                       data-options="rownumbers:true,singleSelect:true,method:'get',
                       toolbar:'#tb',footer:'#ft'">
                    <thead data-options="frozen:true">
                    <tr>
                        <th  data-options="field:'B_BPRKDate',width:50,align:'center'">日期</th>
                        <th  data-options="field:'pinming',width:80,align:'center'">品名</th>
                    </tr>
                    </thead>
                    <thead>
                    <tr>
                        <th  data-options="field:'guige',width:80,align:'center'">规格</th>

                      <!--<th  data-options="field:'bprkQty',width:110,align:'center'">P/KG/M</th>-->
                        <th data-options="field:'bprkQty',width:110,align:'center',
                               formatter:formatter">
                            <span style="color:black;">发白坯</span>
                            <span style="color:red;">P</span>/
                            <span style="color:black;">KG</span>
                        </th>

                        <th  data-options="field:'GYClient',width:90,align:'center'">供应商</th>
                        <th  data-options="field:'pairsno',width:110,align:'center'">批号</th>
                    </tr>
                    </thead>

                </table>
            </div>

        </div>
    </div>
    <div class="d_detail03">

      <div class="d_detail03_02">
        <input onclick="getdaydate()" type="button"  class="d_detail03_2_1 buttom" value="本日">
        <input onclick="getyesterday()" type="button" class="d_detail03_2_1 buttom" value="昨天">
        <input onclick="getWeekdate()" type="button" class="d_detail03_2_1 buttom" value="一周">
        <input onclick="getOneMonthdate()" type="button" class="d_detail03_2_1 buttom" value="一月">
        <input onclick="getMonthdate()" type="button" class="d_detail03_2_1 buttom" value="本月">
      </div>

    </div>

    <!--下拉弹出的div*/-->
    <div class="select_box select_box2"></div>
</div>


</body>
<script>
    $(".buttom").click(
        function() {
            $(".buttom").eq($(this).index()).css('background', '#2eafbb').siblings().css('background', '#E0ECFF');
        })

</script>

</html>